package com.didi.gulimall.member.dao;

import com.didi.gulimall.member.entity.MemberEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员
 * 
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 16:07:50
 */
@Mapper
public interface MemberDao extends BaseMapper<MemberEntity> {

    void orderRollback(@Param("memberId") Long memberId, @Param("changeCount") Integer changeCount, @Param("type") Integer type);

    void addMemberGI(@Param("memberId") Long memberId, @Param("growth") Integer growth, @Param("integration") Integer integration);

    void subjectMemberGI(@Param("memberId") Long memberId, @Param("growth") Integer growth, @Param("integration") Integer integration);
}
